Volume Footprint [LuxAlgo]This indicator estimates a volume footprint using tick data. The script automatically separates a candle into equidistant intervals with a width obtained from the average true range or a user-given width.
Settings
Method: Interval width calculation method. This ultimately determines the number of intervals separating one candle.
Width (At the right of Method): Atr period or user given width depending on the selected method. A lower user-given width would divide a candle into a higher number of intervals.
As Percent: Returns the accumulated volume within each interval as a percentage of the total candle volume.
Style
Display Type: Determines the appearance of the returned volume footprint.
Trend Color: Color to use based on whether a candle is bullish or bearish.
Usage
When applied to a chart, the user will be asked to select the settings to use for the volume footprint. Note that changing the settings afterward will reset the volume footprint, removing previously generated footprints.
A new footprint will appear on the confirmation of a new bar, as such this version might only be useful in lower timeframes.
A volume footprint allows users to see the number of contracts exchanged within a candle interval. It can as such be seen as some kind of intrabar volume profile.
This can be useful to see areas of interest within a candle.
Different Appearance
By default, the volume footprint makes use of colored boxes with a color based on whether the candle was bullish or bearish.
Another appearance that gives additional information is the gradient type, which uses intervals color based on the number of contracts exchanged within an interval relative to the total volume of the candle. A higher number of contracts within an interval would return a darker color by default.
The regular display type makes use of boxes with a single color, with lines on the side indicating whether the candle was bullish or bearish.
ค้นหาในสคริปต์สำหรับ "volume profile"
Vwap based Supply and Demand Heatmap_V1This is a Multi-time frame "Thermographic Vwap based heatmap" showing Highest volume Vwap supply and demand zones.
User has 3 inputs for time frames to choose from or layer. It comes preset with "Short" and "Mid" time frame enabled and user can choose to add an additional layer if they would like for longer time frame analysis. If ALL time frames are enabled, fewer levels will show overall due to the 500 map limit, But zones will become brighter, larger, and more "precise" as they overlap and seek out the highest volume concentration amongst all levels.
What is the map showing you?
The heat map goes through each user selected time frame and searches for the highest volume candle and plots a zone based of that candles Vwap and high. These zones act as dynamic support and resistance. Each zone will "Degrade" and disappear over time and show positive when price has broken, cleared and held above it. The shift in color however is not immediate in change, rather transitional, so as not to "Repaint" causing false sense of clearing a zone. All negative zones (Price below) are colored red. User can choose to change any of the maps color's if they would like.
Time frame MUST be larger than your current charts resolution.-
Example- If on a 3min chart, user would choose any time frame LARGER than 3 min to display a map from.
Time frames the zones work best on are 1,3,5,15 min, paired with maps such as "Daily, Weekly, 240min(4hr), 60min" etc for intraday scalping or trend style trading. If on a larger time frame, 60mi, 4hr, Daily, user would choose larger maps like Daily, Weekly, monthly only. User can choose to display all, or just one time frame's zone at a time if they would like. If on a smaller intraday chart, You can start with "Daily" map first, increase opacity if the map is to dark. Then add additional time frames up or down in time if you'd like so long as maps time frame is larger than the charts.
If on a 1, 3, or 5min chart, you can also try the 30,60, or 240min maps for finer granularity and "Scalping" support and resistance.
If you choose a set of time frames, and do not see maps interacting with current price, then cycle out to a higher chart time frame and maps that are one or two time frames higher than current chart resolution.
These maps are showing you where supply and demand are situated since they are looking for the "Highest Volume" candles in each time frame you choose-
The range cast from the highest volume launch candle have proven to be strong support or resistance. Think of "Trapped trader's" if viewing over head supply level's, these traders will sell into a push higher until cleared. Vice versa, if viewing a demand level below, think of a "Base", especially on higher time frames. An area of high volume participation, where buyer's have shown support, and launched a run from. When price cycles back to these zone's, one would expect support from them.
Each zone has a high or low, you will often see price discovery "Test" the high and low of each zone. Probing as they say in Auction market theory to see if there are still buyers, or seller's present. I will often wait for the probe of the high or low of a zone, then look to participate once they have wicked the area and cleared the inventory there and start to move to the opposing side of the zone I am looking to participate in. Think of "Value low, and Value high" in market or volume profile. Market maker's aim to test the participants "Max pain", and absorb stops in each direction. With that said the maps are not meant to be "Lines in the sand" or concrete level's, they are simply hot or cold zones where you could expect participation to happen, the "Hotter" or "Brighter" a zone is the higher the volume concentration is there at that price area. So act accordingly and use this as an addition to your analysis, not the ONLY thing you take into consideration.
With that said, Trading is RISKY, The creator of this code is NOT a licensed professional, and this tool, nor description is meant to be trading or financial advice! The user whom downloads this tool assumes ALL responsibility and liability associated with the financial risk that comes with the use of this analysis tool and trading in general. The creator of the code advises all users to do their due diligence and contact a licensed broker dealer before making ANY financial decision's based off of analysis done with this tool.
Any question's, Comments or concerns feel free to message via Tradingview platform.
Enjoy-
JMF
VPOC Harmonics - Liquidity-Weighted Price / Time RatiosVPOC Harmonics - Liquidity-Weighted Price / Time Ratios
Summary
This indicator transforms a swing’s price range, duration, and liquidity profile into a structured set of price-per-bar ratios. By anchoring two points and manually entering the swing’s VPOC (highest-volume price), it generates candidate compression values that unify price, time, and liquidity structure. These values can be applied to chart scaling, harmonic testing, and liquidity-aware market geometry.
________________________________________
Overview
Most swing analysis tools only consider price (ΔP) and time (N bars). This script goes further by incorporating the VPOC (Point of Control) — the price with the highest traded volume — directly into swing geometry.
• Anchors define the swing’s Low (L), High (H), and bar count (N).
• The user manually enters the VPOC (highest-volume price).
• The indicator then computes a suite of ratios that integrate range, duration, and liquidity placement.
The output is a table of liquidity-weighted price-per-bar candidates, designed for compression testing and harmonic analysis across swings and instruments.
________________________________________
How to Use
1. Select a Swing
- Place Anchor A and Anchor B to define the swing’s Low, High, and bar count.
2. Find the VPOC
- Apply TradingView’s Fixed Range Volume Profile tool over the same swing.
- Identify the Point of Control (POC) — the price level with the highest traded volume.
3. Enter the VPOC
- Manually input the POC into the indicator settings.
4. Review Outputs
- The table will display candidate ratios expressed mainly as price-per-bar values.
5. Apply in Practice
- Use the ratios as chart compression inputs or as benchmarks for testing harmonic alignments across swings.
________________________________________
Outputs
Swing & Inputs
• Bars (N): total bar count of the swing.
• Low (L): swing low price.
• High (H): swing high price.
• ΔP = H − L: price range.
• Mid = (L + H) ÷ 2: midpoint price.
• VPOC (V): user-entered highest-volume price.
• Base slope s0 = ΔP ÷ N: average change per bar.
• π-adjusted slope sπ = (π × ΔP) ÷ (2 × N): slope adjusted for half-cycle arc geometry.
________________________________________
VPOC Harmony Ratios (L, H, V, N)
• λ = (V − L) ÷ ΔP: normalized VPOC position within the range.
• R = (V − L) ÷ (H − V): symmetry ratio comparing lower vs. upper segment.
• s1 = (V − L) ÷ N: slope from Low → VPOC.
• s2 = (H − V) ÷ N: slope from VPOC → High.
________________________________________
Blended Means (s1, s2)
These combine the two segment slopes in different ways:
• HM(s1,s2) = 2 ÷ (1/s1 + 1/s2): Harmonic mean, emphasizes the smaller slope.
• GM(s1,s2) = sqrt(s1 × s2): Geometric mean, balances both slopes proportionally.
• RMS(s1,s2) = sqrt((s1² + s2²) ÷ 2): Root-mean-square, emphasizes the larger slope.
• L2 = sqrt(s1² + s2²): Euclidean norm, the vector length of both slopes combined.
________________________________________
Slope Blends
• Quadratic weighting: s_quad = s0 × ((V−L)² + (H−V)²) ÷ (ΔP²)
• Tilted slope: s_tilt = s0 × (0.5 + λ)
• Entropy-scaled slope: s_ent = s0 × H2(λ), with H2(λ) = −
________________________________________
Curvature & Liquidity Extensions
• π-arc × λ: s_arc = sπ × λ
• Liquidity-π: s_piV = sπ × (V ÷ Mid)
________________________________________
Scale-Normalized Families
With k = sqrt(H ÷ L):
• k (scale factor) = sqrt(H ÷ L)
• s_comp = s0 ÷ k: compressed slope candidate
• s_exp = s0 × k: expanded slope candidate
• Exponentiated blends:
- s_kλ = s0 × k^(2λ−1)
- s_φλ = s0 × φ^(2λ−1), with φ = golden ratio ≈ 1.618
- s_√2λ = s0 × (√2)^(2λ−1)
________________________________________
Practical Application
All formulas generate liquidity-weighted price-per-bar ratios that integrate range, time, and VPOC placement.
These values are designed for:
• Chart compression settings
• Testing harmonic alignments across swings
• Liquidity-aware scaling experiments
________________________________________
BK AK-SILENCER (P8N)🚨Introducing BK AK-SILENCER (P8N) — Institutional Order Flow Tracking for Silent Precision🚨
After months of meticulous tuning and refinement, I'm proud to unleash the next weapon in my trading arsenal—BK AK-SILENCER (P8N).
🔥 Why "AK-SILENCER"? The True Meaning
Institutions don’t announce their moves—they move silently, hidden beneath the noise. The SILENCER is built specifically to detect and track these stealth institutional maneuvers, giving you the power to hunt quietly, execute decisively, and strike precisely before the market catches on.
🔹 "AK" continues the legacy, honoring my mentor, A.K., whose teachings on discipline, precision, and clarity form the cornerstone of my trading.
🔹 "SILENCER" symbolizes the stealth aspect of institutional trading—quiet but deadly moves. This indicator equips you to silently track, expose, and capitalize on their hidden footprints.
🧠 What Exactly is BK AK-SILENCER (P8N)?
It's a next-generation Cumulative Volume Delta (CVD) tool crafted specifically for traders who hunt institutional order flow, combining adaptive volatility bands, enhanced momentum gradients, and precise divergence detection into a single deadly-accurate weapon.
Built for silent execution—tracking moves quietly and trading with lethal precision.
⚙️ Core Weapon Systems
✅ Institutional CVD Engine
→ Dynamically measures hidden volume shifts (buying/selling pressure) to reveal institutional footprints that price alone won't show.
✅ Adaptive AK-9 Bollinger Bands
→ Bollinger Bands placed around a custom CVD signal line, pinpointing exactly when institutional accumulation or distribution reaches critical extremes.
✅ Gradient Momentum Intelligence
→ Color-coded momentum gradients reveal the strength, speed, and silent intent behind institutional order flow:
🟢 Strong Bullish (aggressive buying)
🟡 Moderate Bullish (steady accumulation)
🔵 Neutral (balance)
🟠 Moderate Bearish (quiet distribution)
🔴 Strong Bearish (aggressive selling)
✅ Silent Divergence Detection
→ Instantly spots divergence between price and hidden volume—your earliest indication that institutions are stealthily reversing direction.
✅ Background Flash Alerts
→ Visually highlights institutional extremes through subtle background flashes, alerting you quietly yet powerfully when market-moving players make their silent moves.
✅ Structural & Institutional Clarity
→ Optional structural pivots, standard deviation bands, volume profile anchors, and session lines clearly identify the exact levels institutions defend or attack silently.
🛡️ Why BK AK-SILENCER (P8N) is Your Edge
🔹 Tracks Institutional Footprints—Silently identifies hidden volume signals of institutional intentions before they’re obvious.
🔹 Precision Execution—Cuts through noise, allowing you to execute silently, confidently, and precisely.
🔹 Perfect for Traders Using:
Elliott Wave
Gann Methods (Angles, Squares)
Fibonacci Time & Price
Harmonic Patterns
Market Profile & Order Flow Analysis
🎯 How to Use BK AK-SILENCER (P8N)
🔸 Institutional Reversal Hunting (Stealth Mode)
Bearish divergence + CVD breaking below lower BB → stealth short signal.
Bullish divergence + CVD breaking above upper BB → quiet, early long entry.
🔸 Momentum Confirmation (Silent Strength)
Strong bullish gradient + CVD above upper BB → follow institutional buying quietly.
Strong bearish gradient + CVD below lower BB → confidently short institutional selling.
🔸 Noise Filtering (Patience & Precision)
Neutral gradient (blue) → remain quiet, wait patiently to strike precisely when institutional activity resumes.
🔸 Structural Precision (Institutional Levels)
Optional StdDev, POC, Value Areas, Session Anchors clearly identify exact institutional defense/offense zones.
🙏 Final Thoughts
Institutions move in silence, leaving subtle footprints. BK AK-SILENCER (P8N) is your specialized weapon for tracking and hunting their quiet, decisive actions before the market reacts.
🔹 Dedicated in deep gratitude to my mentor, A.K.—whose silent wisdom shapes every line of code.
🔹 Engineered for the disciplined, quiet hunter who knows when to wait patiently and when to strike decisively.
Above all, honor and gratitude to Gd—the ultimate source of wisdom, clarity, and disciplined execution. Without Him, markets are chaos. With Him, we move silently, purposefully, and precisely.
⚡ Stay Quiet. Stay Precise. Hunt Silently.
🔥 BK AK-SILENCER (P8N) — Track the Silent Moves. Strike with Precision. 🔥
May Gd bless every silent step you take. 🙏
Setup Score OscillatorSetup Score Oscillator – Full Description
🎯 Purpose of the Script
This script is a manual trading setup scoring tool, designed to help traders quantify the quality of a trade setup by combining multiple technical, cyclical, and contextual signals.
Instead of relying on a single indicator, the trader manually selects which signals are present, and the script calculates a total score (0–100%), displayed as an oscillator in a separate panel (like RSI or MACD).
🔧 How it works in practice
1. Manual signal inputs
The script presents a set of checkboxes in the settings, where the trader can enable/disable the following signals:
✅ Confirmed Support/Resistance
✅ Aligned Volume Profile
✅ Favorable Cyclic Timing
✅ Valid Trend Line
✅ Aligned Cyclical Moving Averages
✅ Relevant Fibonacci Level
✅ Classic Volume Signal (spike, dry-up, etc.)
✅ Oscillator confirmation (e.g., divergences)
✅ Extreme Sentiment
✅ Relevant or incoming News
Each selected signal contributes to the total score based on its weight.
2. Scoring system
Each signal has a default weight (e.g., 20% for support/resistance, 15% for cycles, etc.).
Optionally, the trader can enable the “custom weights” checkbox and adjust each signal’s weight directly in the settings.
3. Score visualization
The final score (sum of all active weights) is plotted as an oscillator ranging from 0 to 100%, with dynamic coloring:
Range Color Meaning
0–39% Red No valid setup
40–54% Yellow Watchlist only
55–69% Orange Good setup
70–100% Green Strong setup
Several horizontal threshold lines are displayed:
50% → neutral threshold
40%, 55%, 70% → operational levels
4. Optional background coloring
When the score exceeds 55% or 70%, the oscillator background lightly changes color to highlight stronger setups (non-intrusive).
📌 Practical benefits
Objectifies subjective analysis: each decision becomes a number.
Prevents overtrading: no entries if the score is too low.
Adaptable to any trading style: swing, intraday, positional.
User-friendly: no coding needed – just tick boxes.
Italiano:
Setup Score Oscillator – Descrizione completa
🎯 Obiettivo dello script
Lo script è uno strumento manuale di valutazione dei setup di trading, pensato per aiutare il trader a quantificare la qualità di un'opportunità operativa basandosi su più segnali tecnici, ciclici e contestuali.
Invece di affidarsi a un solo indicatore, il trader seleziona manualmente quali segnali sono presenti, e lo script calcola un punteggio complessivo percentuale (0–100%), rappresentato come oscillatore in una finestra separata (tipo RSI, MACD, ecc.).
🔧 Come funziona operativamente
1. Input manuale dei segnali
Lo script mostra una serie di checkbox nelle impostazioni, dove il trader può attivare o disattivare i seguenti segnali:
✅ Supporto/Resistenza confermata
✅ Volume Profile allineato
✅ Cicli o timing favorevole
✅ Trend line valida
✅ Medie mobili cicliche allineate
✅ Livello di Fibonacci rilevante
✅ Volume classico significativo (spike, dry-up)
✅ Conferme da oscillatori (es. divergenze)
✅ Sentiment estremo (es. euforia o panico)
✅ News importanti imminenti o appena uscite
Ogni casella attiva contribuisce al punteggio totale, con un peso specifico.
2. Sistema di punteggio
Ogni segnale ha un peso predefinito (es. 20% per supporti/resistenze, 15% per cicli, ecc.).
Facoltativamente, il trader può attivare la funzione “Enable custom weights” per personalizzare i pesi di ciascun segnale direttamente da input.
3. Visualizzazione del punteggio
Il punteggio complessivo (somma dei pesi attivati) viene tracciato come oscillatore da 0 a 100%, con colori dinamici:
Range Colore Significato
0–39% Rosso Nessun setup valido
40–54% Giallo Osservazione
55–69% Arancione Setup buono
70–1005 Verde Setup forte
Sono tracciate anche delle linee guida orizzontali a:
50% → soglia neutra
40%, 55%, 70% → soglie operative
4. Colorazione dello sfondo (facoltativa)
Quando il punteggio supera 55% o 70%, lo sfondo dell’oscillatore cambia leggermente colore per evidenziare il segnale (non invasivo).
📌 Vantaggi pratici
Oggettivizza l’analisi soggettiva: ogni decisione manuale si trasforma in un numero.
Evita overtrading: se il punteggio è troppo basso, non si entra.
Adattabile a ogni stile: swing, intraday, position.
Facile da usare anche senza codice: basta spuntare le caselle.
Ergodic Market Divergence (EMD)Ergodic Market Divergence (EMD)
Bridging Statistical Physics and Market Dynamics Through Ensemble Analysis
The Revolutionary Concept: When Physics Meets Trading
After months of research into ergodic theory—a fundamental principle in statistical mechanics—I've developed a trading system that identifies when markets transition between predictable and unpredictable states. This indicator doesn't just follow price; it analyzes whether current market behavior will persist or revert, giving traders a scientific edge in timing entries and exits.
The Core Innovation: Ergodic Theory Applied to Markets
What Makes Markets Ergodic or Non-Ergodic?
In statistical physics, ergodicity determines whether a system's future resembles its past. Applied to trading:
Ergodic Markets (Mean-Reverting)
- Time averages equal ensemble averages
- Historical patterns repeat reliably
- Price oscillates around equilibrium
- Traditional indicators work well
Non-Ergodic Markets (Trending)
- Path dependency dominates
- History doesn't predict future
- Price creates new equilibrium levels
- Momentum strategies excel
The Mathematical Framework
The Ergodic Score combines three critical divergences:
Ergodic Score = (Price Divergence × Market Stress + Return Divergence × 1000 + Volatility Divergence × 50) / 3
Where:
Price Divergence: How far current price deviates from market consensus
Return Divergence: Momentum differential between instrument and market
Volatility Divergence: Volatility regime misalignment
Market Stress: Adaptive multiplier based on current conditions
The Ensemble Analysis Revolution
Beyond Single-Instrument Analysis
Traditional indicators analyze one chart in isolation. EMD monitors multiple correlated markets simultaneously (SPY, QQQ, IWM, DIA) to detect systemic regime changes. This ensemble approach:
Reveals Hidden Divergences: Individual stocks may diverge from market consensus before major moves
Filters False Signals: Requires broader market confirmation
Identifies Regime Shifts: Detects when entire market structure changes
Provides Context: Shows if moves are isolated or systemic
Dynamic Threshold Adaptation
Unlike fixed-threshold systems, EMD's boundaries evolve with market conditions:
Base Threshold = SMA(Ergodic Score, Lookback × 3)
Adaptive Component = StDev(Ergodic Score, Lookback × 2) × Sensitivity
Final Threshold = Smoothed(Base + Adaptive)
This creates context-aware signals that remain effective across different market environments.
The Confidence Engine: Know Your Signal Quality
Multi-Factor Confidence Scoring
Every signal receives a confidence score based on:
Signal Clarity (0-35%): How decisively the ergodic threshold is crossed
Momentum Strength (0-25%): Rate of ergodic change
Volatility Alignment (0-20%): Whether volatility supports the signal
Market Quality (0-20%): Price convergence and path dependency factors
Real-Time Confidence Updates
The Live Confidence metric continuously updates, showing:
- Current opportunity quality
- Market state clarity
- Historical performance influence
- Signal recency boost
- Visual Intelligence System
Adaptive Ergodic Field Bands
Dynamic bands that expand and contract based on market state:
Primary Color: Ergodic state (mean-reverting)
Danger Color: Non-ergodic state (trending)
Band Width: Expected price movement range
Squeeze Indicators: Volatility compression warnings
Quantum Wave Ribbons
Triple EMA system (8, 21, 55) revealing market flow:
Compressed Ribbons: Consolidation imminent
Expanding Ribbons: Directional move developing
Color Coding: Matches current ergodic state
Phase Transition Signals
Clear entry/exit markers at regime changes:
Bull Signals: Ergodic restoration (mean reversion opportunity)
Bear Signals: Ergodic break (trend following opportunity)
Confidence Labels: Percentage showing signal quality
Visual Intensity: Stronger signals = deeper colors
Professional Dashboard Suite
Main Analytics Panel (Top Right)
Market State Monitor
- Current regime (Ergodic/Non-Ergodic)
- Ergodic score with threshold
- Path dependency strength
- Quantum coherence percentage
Divergence Metrics
- Price divergence with severity
- Volatility regime classification
- Strategy mode recommendation
- Signal strength indicator
Live Intelligence
- Real-time confidence score
- Color-coded risk levels
- Dynamic strategy suggestions
Performance Tracking (Left Panel)
Signal Analytics
- Total historical signals
- Win rate with W/L breakdown
- Current streak tracking
- Closed trade counter
Regime Analysis
- Current market behavior
- Bars since last signal
- Recommended actions
- Average confidence trends
Strategy Command Center (Bottom Right)
Adaptive Recommendations
- Active strategy mode
- Primary approach (mean reversion/momentum)
- Suggested indicators ("weapons")
- Entry/exit methodology
- Risk management guidance
- Comprehensive Input Guide
Core Algorithm Parameters
Analysis Period (10-100 bars)
Scalping (10-15): Ultra-responsive, more signals, higher noise
Day Trading (20-30): Balanced sensitivity and stability
Swing Trading (40-100): Smooth signals, major moves only Default: 20 - optimal for most timeframes
Divergence Threshold (0.5-5.0)
Hair Trigger (0.5-1.0): Catches every wiggle, many false signals
Balanced (1.5-2.5): Good signal-to-noise ratio
Conservative (3.0-5.0): Only extreme divergences Default: 1.5 - best risk/reward balance
Path Memory (20-200 bars)
Short Memory (20-50): Recent behavior focus, quick adaptation
Medium Memory (50-100): Balanced historical context
Long Memory (100-200): Emphasizes established patterns Default: 50 - captures sufficient history without lag
Signal Spacing (5-50 bars)
Aggressive (5-10): Allows rapid-fire signals
Normal (15-25): Prevents clustering, maintains flow
Conservative (30-50): Major setups only Default: 15 - optimal trade frequency
Ensemble Configuration
Select markets for consensus analysis:
SPY: Broad market sentiment
QQQ: Technology leadership
IWM: Small-cap risk appetite
DIA: Blue-chip stability
More instruments = stronger consensus but potentially diluted signals
Visual Customization
Color Themes (6 professional options):
Quantum: Cyan/Pink - Modern trading aesthetic
Matrix: Green/Red - Classic terminal look
Heat: Blue/Red - Temperature metaphor
Neon: Cyan/Magenta - High contrast
Ocean: Turquoise/Coral - Calming palette
Sunset: Red-orange/Teal - Warm gradients
Display Controls:
- Toggle each visual component
- Adjust transparency levels
- Scale dashboard text
- Show/hide confidence scores
- Trading Strategies by Market State
- Ergodic State Strategy (Primary Color Bands)
Market Characteristics
- Price oscillates predictably
- Support/resistance hold
- Volume patterns repeat
- Mean reversion dominates
Optimal Approach
Entry: Fade moves at band extremes
Target: Middle band (equilibrium)
Stop: Just beyond outer bands
Size: Full confidence-based position
Recommended Tools
- RSI for oversold/overbought
- Bollinger Bands for extremes
- Volume profile for levels
- Non-Ergodic State Strategy (Danger Color Bands)
Market Characteristics
- Price trends persistently
- Levels break decisively
- Volume confirms direction
- Momentum accelerates
Optimal Approach
Entry: Breakout from bands
Target: Trail with expanding bands
Stop: Inside opposite band
Size: Scale in with trend
Recommended Tools
- Moving average alignment
- ADX for trend strength
- MACD for momentum
- Advanced Features Explained
Quantum Coherence Metric
Measures phase alignment between individual and ensemble behavior:
80-100%: Perfect sync - strong mean reversion setup
50-80%: Moderate alignment - mixed signals
0-50%: Decoherence - trending behavior likely
Path Dependency Analysis
Quantifies how much history influences current price:
Low (<30%): Technical patterns reliable
Medium (30-50%): Mixed influences
High (>50%): Fundamental shift occurring
Volatility Regime Classification
Contextualizes current volatility:
Normal: Standard strategies apply
Elevated: Widen stops, reduce size
Extreme: Defensive mode required
Signal Strength Indicator
Real-time opportunity quality:
- Distance from threshold
- Momentum acceleration
- Cross-validation factors
Risk Management Framework
Position Sizing by Confidence
90%+ confidence = 100% position size
70-90% confidence = 75% position size
50-70% confidence = 50% position size
<50% confidence = 25% or skip
Dynamic Stop Placement
Ergodic State: ATR × 1.0 from entry
Non-Ergodic State: ATR × 2.0 from entry
Volatility Adjustment: Multiply by current regime
Multi-Timeframe Alignment
- Check higher timeframe regime
- Confirm ensemble consensus
- Verify volume participation
- Align with major levels
What Makes EMD Unique
Original Contributions
First Ergodic Theory Trading Application: Transforms abstract physics into practical signals
Ensemble Market Analysis: Revolutionary multi-market divergence system
Adaptive Confidence Engine: Institutional-grade signal quality metrics
Quantum Coherence: Novel market alignment measurement
Smart Signal Management: Prevents clustering while maintaining responsiveness
Technical Innovations
Dynamic Threshold Adaptation: Self-adjusting sensitivity
Path Memory Integration: Historical dependency weighting
Stress-Adjusted Scoring: Market condition normalization
Real-Time Performance Tracking: Built-in strategy analytics
Optimization Guidelines
By Timeframe
Scalping (1-5 min)
Period: 10-15
Threshold: 0.5-1.0
Memory: 20-30
Spacing: 5-10
Day Trading (5-60 min)
Period: 20-30
Threshold: 1.5-2.5
Memory: 40-60
Spacing: 15-20
Swing Trading (1H-1D)
Period: 40-60
Threshold: 2.0-3.0
Memory: 80-120
Spacing: 25-35
Position Trading (1D-1W)
Period: 60-100
Threshold: 3.0-5.0
Memory: 100-200
Spacing: 40-50
By Market Condition
Trending Markets
- Increase threshold
- Extend memory
- Focus on breaks
Ranging Markets
- Decrease threshold
- Shorten memory
- Focus on restores
Volatile Markets
- Increase spacing
- Raise confidence requirement
- Reduce position size
- Integration with Other Analysis
- Complementary Indicators
For Ergodic States
- RSI divergences
- Bollinger Band squeezes
- Volume profile nodes
- Support/resistance levels
For Non-Ergodic States
- Moving average ribbons
- Trend strength indicators
- Momentum oscillators
- Breakout patterns
- Fundamental Alignment
- Check economic calendar
- Monitor sector rotation
- Consider market themes
- Evaluate risk sentiment
Troubleshooting Guide
Too Many Signals:
- Increase threshold
- Extend signal spacing
- Raise confidence minimum
Missing Opportunities
- Decrease threshold
- Reduce signal spacing
- Check ensemble settings
Poor Win Rate
- Verify timeframe alignment
- Confirm volume participation
- Review risk management
Disclaimer
This indicator is for educational and informational purposes only. It does not constitute financial advice. Trading involves substantial risk of loss and is not suitable for all investors. Past performance does not guarantee future results.
The ergodic framework provides unique market insights but cannot predict future price movements with certainty. Always use proper risk management, conduct your own analysis, and never risk more than you can afford to lose.
This tool should complement, not replace, comprehensive trading strategies and sound judgment. Markets remain inherently unpredictable despite advanced analysis techniques.
Transform market chaos into trading clarity with Ergodic Market Divergence.
Created with passion for the TradingView community
Trade with insight. Trade with anticipation.
— Dskyz , for DAFE Trading Systems
Linear Regression Channel UltimateKey Features and Benefits
Logarithmic scale option for improved analysis of long-term trends and volatile markets
Activity-based profiling using either touch count or volume data
Customizable channel width and number of profile fills
Adjustable number of most active levels displayed
Highly configurable visual settings for optimal chart readability
Why Logarithmic Scale Matters
The logarithmic scale option is a game-changer for analyzing assets with exponential growth or high volatility. Unlike linear scales, log scales represent percentage changes consistently across the price range. This allows for:
Better visualization of long-term trends
More accurate comparison of price movements across different price levels
Improved analysis of volatile assets or markets experiencing rapid growth
How It Works
The indicator calculates a linear regression line based on the specified period
Upper and lower channel lines are drawn at a customizable distance from the regression line
The space between the channel lines is divided into a user-defined number of levels
For each level, the indicator tracks either:
- The number of times price touches the level (touch count method)
- The total volume traded when price is at the level (volume method)
The most active levels are highlighted based on this activity data
Understanding Touch Count vs Volume
Touch count method: Useful for identifying key support/resistance levels based on price action alone
Volume method: Provides insight into levels where the most trading activity occurs, potentially indicating stronger support/resistance
Practical Applications
Trend identification and strength assessment
Support and resistance level discovery
Entry and exit point optimization
Volume profile analysis for improved market structure understanding
This Linear Regression Channel indicator combines powerful statistical analysis with flexible visualization options, making it an invaluable tool for traders and analysts across various timeframes and markets. Its unique features, especially the logarithmic scale and activity profiling, provide deeper insights into market behavior and potential turning points.
Position Cost DistributionThe Position Cost Distribution indicator (also known as the Market Position Overview, Chip Distribution, or CYQ Algorithm) provides an estimate of how shares are distributed across different price levels. Visually, it resembles the Volume Profile indicator, though they rely on distinct computational approaches.
🟠 Principle
The Position Cost Distribution algorithm is based on the principle that a security's total shares outstanding usually remains constant, except under conditions like stock splits, reverse splits, or new share issuance. It views all trading activity as simply exchanging share positions between holders at different price points.
By analyzing daily trade volume and the prior day's distribution, the algorithm infers the resulting share distribution after each day. By tracking these inferred transpositions over time, the indicator builds up an aggregate view of the estimated share concentration at each price level. This provides insights into potential buying and selling pressure zones that could form support or resistance areas.
Together with the Volume Profile, the Position Cost Distribution gives traders multiple lenses for examining market structure from both a volume and positional standpoint. Both can help identify meaningful technical price levels.
🟠 Algorithm
The algorithm initializes by allocating all shares to the price range encompassed by the first bar displayed on the chart. Preferably, the chart window should include the stock's IPO date, allowing the model to distribute shares specifically to the IPO price.
For subsequent trading sessions, the indicator performs the following calculations:
1. The daily turnover ratio is calculated by dividing the bar's trading volume by total outstanding shares.
2. For each price level (bucket), the number of shares is reduced by the turnover amount to represent shares transferring from existing holders.
3. The bar's total volume is then added to buckets corresponding to that period's price range.
Currently, the model assumes each share has an equal probability of being exchanged, regardless of how long ago it was acquired or at what price. Potential optimizations could incorporate factors like making shares held longer face a smaller chance of transfer compared to more recently purchased shares.
────────────────────────────────────────────
中文介绍:该指标为“筹码分布”的一个 TradingView 实现 :)
PhantomFlow AccumulationDetectorThe PhantomFlow AccumulationDetector indicator analyzes the volume profile and displays potential accumulation based on the selected timeframe in the settings. This indicator can be used both as zones for trend following and for identifying reversals, as shown in the examples on the chart. The logic behind the formation of the accumulation zone is based on the fact that the POC (Point of Control) of the current zone is within the Volume Area range of the previous period.
Optimal settings for the working timeframe should be chosen visually, and the size of the zones should not be too large or too small. Additionally, it's advisable not to consider overly wide zones during increased volatility.
Consecutive zones within the same range often indicate a potential reversal.
We borrowed the volume profile calculation code from @LonesomeTheBlue. Thank you for the work done!
FFH Market structure v1The indicator determines the trend, its direction, confirmed trend, trend breakout levels (BoS), sideways ranges, volume profile point of control levels (vPoC) - all of this is conveniently displayed on the chart and helps complement your technical analysis.
The main idea of the script is to trade volume profile levels (vPoC) by identifying trends and sideways ranges. The script detect them and provides signals as soon as it detects a reaction from a volume level. You then complement these signals with your own technical analysis and make a decision to enter a trade. The script was developed solely to facilitate trading and address the issue of convenient visualization. Structure breakout levels are displayed as additional confirmations for making trading decisions. If we form a sideways range below/above such a trading level, it is a strong signal for me.
For sideways ranges, a volume level is calculated (vPoC), which also serves as input information for the signal engine. Signals are generated based on volume levels, with the calculation of stop loss (SL) and take profit (TP) levels. The SL is set at a certain percentage of the range boundaries or the previous high/low, as specified by a parameter. Targets are calculated intelligently based on trend reversal levels and volume levels.
The indicator parameters are individually tailored to each coin. The number of bars to determine the high/low is adjusted, as well as the allowable price deviation for defining the range boundaries on the first level. There are three modes for determining the sideways range, and data sources for highs/lows can be chosen (high/low/candle close, etc.). To make it more convenient for you to work with the indicator, there is an algorithm for automatic parameter adjustment built-in.
Currently script _only_ works for:
* BTC on 1-hour, 4-hour, and 1-day timeframes.
* ETC on 1-hour, 4-hour, and 1-day timeframes.
* Any altcoin on a 1-day timeframe.
The script will be beneficial to both novice traders, helping them understand market structure, sideways ranges, and identifying structure breakouts, as well as experienced traders, facilitating the process of plotting market structure elements on the chart and making trading decisions.
In any case, this script is not an investment idea.
All trading decisions you make based on the script are made independently and at your own risk.
OBVoscillatorTitle: OBV Oscillator
Author: OsborneCapital
The OBV (On Balance Volume) Oscillator developed by OsborneCapital is a distinctive variant from commonly published OBV indicators. This script capitalizes on the primary concept of the OBV, which is to cumulatively add or subtract the entire volume of each bar to a total, based on whether the closing price was higher or lower than the previous close. However, the OBV Oscillator by OsborneCapital improves upon this by introducing an additional layer of analysis.
Key Differences:
Oscillator Formulation:
The original OBV serves as a cumulative measure of buying and selling pressure. It does not naturally oscillate around a zero line. This script transforms OBV into an oscillator, offering a normalized view around a baseline (zero) for a more intuitive interpretation of buying and selling pressure.
Normalized Scaling:
The OBV Oscillator scales the OBV values down by a user-defined factor (default 1000), helping adapt the indicator to the magnitudes of the underlying market's volume profile.
Moving Average Comparison:
This script compares the scaled OBV with a Moving Average (MA) over a user-defined period, enhancing the visibility of divergences and convergences between volume trends and price action.
Usage:
The OBV Oscillator by OsborneCapital provides visual cues about the underlying buying or selling pressure, which is not directly visible from the price chart:
- Above zero line: Suggests the dominance of buying pressure, which may indicate an ongoing bullish sentiment.
- Below zero line: Indicates the dominance of selling pressure, hinting at bearish sentiment.
- Crossing the zero line: A change in the trend's direction, from bullish to bearish or vice versa.
Markets and Conditions:
The OBV Oscillator can be used across various markets, including but not limited to stocks, forex, cryptocurrencies, commodities, and futures. As this script fundamentally builds on volume analysis, it tends to be more effective in markets where volume information is reliable and significant.
It's always recommended to use this tool in conjunction with other indicators and analysis methods, as it mainly provides insights into volume trends and doesn't consider price levels or price-based trends. The indicator can be particularly effective in identifying potential breakouts when there's a divergence between the OBV Oscillator and the price trend.
Please remember, no indicator alone can guarantee success in trading, and a comprehensive approach, including risk management, should always be employed.
Halfback + One-Time-Framing BarsThis indicator is designed to be used with Market Profile / Volume Profile trading techniques on a 30min chart.
The halfback of a candle is the mid point between the high and the low of the candle. A halfback trade can be taken once price retraces into this point as support/resistance using the prevailing trend as your trade direction.
One-Time-Framing is a fancy term for trending in one direction. One-Time-Framing happens when a candle breaks the previous candle's high without testing the low or when a candle breaks the low of the previous candle without testing the high. This indicates that the trend is one directional and opposing pressure is very weak. Taking trades in the opposing direction of multiple OTF bars is typically a bad trade setup.
Halfback and OTF setups are typically used on a 30min timeframe combined with Market or Volume Profile, but you can experiment with these setups on any timeframe if you wish.
I hope you all enjoy this indicator, comment below if you have any questions.
Koalafied Volume Extension BubblesCircles based on extensions from volume Z-Score. Large volume candles can often signal exhaustion or show market strength in reversals or breakouts. Circles can be offset back to the start of the day/profile or left at the time where they occur.
Colours denoting deviations from the mean are
+2 std dev - Green
+1 std dev - Blue
-1 std dev - Red
-2 std dev - Purple
Concept is primarily as a pseudo volume profile delta tool. Obviously it's a very basic heuristic so would recommend further reading and use of actually footprint data to base trading decisions on.
Swing Assassin's Consolidated ScriptI put this script together to essentially consolidate a number of scripts that I use on a daily basis into one script. This is an ongoing improvement effort, so there may be some garbage in here right now so keep that in mind if you intend to use this to help in your trading.
There are 5 moving averages (Hull). I use the Fast, Mid and Slow to find entries after I us the Medium Slow and Super Slow to identify a trend. Otherwise, I have those three turned off.
This script also uses Bollinger Bands which I literally cannot trade without.
The script also has anchored VWAP , automated support/resistance lines, and a homebrewed Volume Profile that is a copy from Ildar Akhmetgaleev's indicator "Poor Man's Volume Profile" used under Mozilla Public License Version 2.0.
PRIME - Krypto Kiss+CCI+VPIntroducing from Prime Academy, the experimental "KryptO Kis$" algorithm, which combines our most powerful scripts all in one indicator. Available to the user are a full options platform to adjust parameters as well as individually blind indications for precise chart analysis. The following algorithms have been utilized:
* Prime Pulse (3 Candle System) - The original impulse and momentum indication system, it take rsi and tsi data to provide users with the indication of initial impulses, as well as a yellow candle to ascertain when there is a possible change of momentum in the current impulse.
* 5 SMA - The original Sniper Cross system seen from previous strategies, using the 4, 21, 50, 185, and 800 SMA's to determine changes of trend, continuation and support levels.
*CCI Indication on Chart - The system provides realtime CCI data in correlation to price positions within the general chart matrix, receiving system variables from various crosses on the 100 to -100 scale for CCI. Bullish and Bearish indications are clearly defined by separate colors.
* Volume Profile with tags - This system provides current volume data for the current time frame and sequence, also giving available tags at prices holding high volume orders, historically and present as indicated by the difference in length of indications. color saturations indicate the intensity of volume at the price in question .
* Shadow ZoneZ - Provides Support and resistance levels using rsi overbought and over sold data, sourced on the close of previous prices. Also embedded in the code is an additional volume confluence via indications of dotted lines with prices available, giving sequence positions of "Whales" and their support and resistance levels by order volume at price.
* An added bonus of the Shadow ZoneZ is the auto trend line and trend channel function , as well as the highlighted zones of liquidity waiting to be filled from previous impulses and lack of present retracements.
Any questions can be directed here on site via Direct Message. Any feedback is welcomed, and thank you in advance. Trade Well, Family!
- Dee Prime
//Disclaimer:
//Trading success is all about following your trading strategy and the indicators should fit within your trading strategy, and not to be traded upon solely
//The script is for informational and educational purposes only. Use of the script does not constitute professional and/or financial advice.
//You alone have the sole responsibility of evaluating the script output and risks associated with the use of the script.
//In exchange for using the script, you agree not to hold the publishing TradingView user liable for any possible claim for damages arising from any decision you make based on use of the script.
Poor man's volume clustersVolume clusters created from candlestick volumes.
See also "Poor man's volume profile" .
The code is generated using a template. To change the settings, you may need to regenerate the code. The code has a link to the repository with the template.
ICT Institutional Order Flow (Riz)This indicator implements Inner Circle Trader (ICT) institutional order flow concepts to identify high-probability entry points where smart money is actively participating in the market. It combines volume analysis, market structure, and price action patterns to detect institutional accumulation and distribution zones.
Core Concepts & Methodology
1. Institutional Order Blocks Detection
Order blocks represent the last opposing candle before a strong directional move, indicating institutional accumulation (bullish) or distribution (bearish) zones.
How it works:
⦁ Identifies the final bearish candle before bullish expansion (accumulation)
⦁ Identifies the final bullish candle before bearish expansion (distribution)
⦁ Validates with volume spike (2x average) to confirm institutional participation
⦁ Requires minimum 0.5% price displacement to filter weak moves
⦁ Tracks these zones as future support/resistance levels
2. Fair Value Gap (FVG) Analysis
FVGs are price inefficiencies created by aggressive institutional orders that leave gaps in price action.
Detection method:
⦁ Bullish FVG: When current low > high from 2 bars ago
⦁ Bearish FVG: When current high < low from 2 bars ago
⦁ Minimum gap size filter (0.1% default) eliminates noise
⦁ Monitors gap fills with volume for entry signals
⦁ Gaps act as magnets drawing price back for "rebalancing"
3. Liquidity Hunt Detection
Institutions often trigger retail stop losses before reversing direction, creating liquidity for their positions.
Algorithm:
⦁ Calculates rolling 20-period highs/lows as liquidity pools
⦁ Detects wicks beyond these levels (0.1% sensitivity)
⦁ Identifies rejection back inside range (liquidity grab)
⦁ Volume spike confirmation ensures institutional involvement
⦁ These reversals often mark significant turning points
4. Volume Profile Integration
Analyzes volume distribution across price levels to identify institutional interest zones.
Components:
⦁ Point of Control (POC): Price level with highest volume (institutional consensus)
⦁ Value Area: 70% of volume range (institutional comfort zone)
⦁ Uses 50-bar lookback to build volume histogram
⦁ 20 price levels for granular distribution analysis
5. Market Structure Analysis
Determines overall trend bias using pivot points and swing analysis.
Process:
⦁ Identifies swing highs/lows using 3-bar pivots
⦁ Bullish structure: Price above last swing high
⦁ Bearish structure: Price below last swing high
⦁ Filters signals to trade with institutional direction
Signal Generation Logic
BUY signals trigger when ANY condition is met:
1. Order Block Formation: Bearish-to-bullish transition + volume spike + strong move
2. Liquidity Grab Reversal: Sweep below lows + recovery + volume spike
3. FVG Fill: Price fills bullish gap with institutional volume (within 3 bars)
4. Order Block Respect: Price bounces from previous bullish OB + volume
SELL signals trigger when ANY condition is met:
1. Order Block Formation: Bullish-to-bearish transition + volume spike + strong move
2. Liquidity Grab Reversal: Sweep above highs + rejection + volume spike
3. FVG Fill: Price fills bearish gap with institutional volume (within 3 bars)
4. Order Block Respect: Price rejects from previous bearish OB + volume
Additional filters:
⦁ Signals align with market structure (no counter-trend trades)
⦁ No new signals while position is active
⦁ All signals require volume confirmation (institutional fingerprint)
Trading Style Auto-Configuration
The indicator features intelligent preset configurations for different trading styles:
Scalping Mode (1-5 min charts):
⦁ Volume multiplier: 1.5x (more signals)
⦁ Tighter parameters for quick trades
⦁ Risk:Reward 1.5:1, ATR multiplier 1.0
Day Trading Mode (15-30 min charts):
⦁ Volume multiplier: 1.7x (balanced)
⦁ Medium sensitivity settings
⦁ Risk:Reward 2:1, ATR multiplier 1.5
Swing Trading Mode (1H-4H charts):
⦁ Volume multiplier: 2.0x (quality focus)
⦁ Conservative parameters
⦁ Risk:Reward 3:1, ATR multiplier 2.0
Custom Mode:
⦁ Full manual control of all parameters
Visual Components
⦁ Order Blocks: Colored rectangles (green=bullish, red=bearish)
⦁ Fair Value Gaps: Orange boxes showing imbalances
⦁ Liquidity Levels: Dashed blue lines at key highs/lows
⦁ Volume Spikes: Yellow background highlighting
⦁ POC Line: Orange line showing highest volume price
⦁ Value Area: Blue shaded zone of 70% volume
⦁ Buy/Sell Signals: Triangle markers with text labels
⦁ Stop Loss/Take Profit: Dotted lines (red/green)
Information Panel
Real-time dashboard displaying:
⦁ Current trading mode
⦁ Volume ratio (current vs average)
⦁ Market structure (bullish/bearish)
⦁ Active order blocks count
⦁ Position status
⦁ Configuration details
How to Use
Step 1: Select Trading Style
Choose your style in settings - all parameters auto-adjust
Step 2: Timeframe Selection
⦁ Scalping: 1-5 minute charts
⦁ Day Trading: 15-30 minute charts
⦁ Swing: 1H-4H charts
Step 3: Signal Interpretation
⦁ Wait for BUY/SELL markers
⦁ Check volume ratio >2 for strong signals
⦁ Verify market structure alignment
⦁ Note automatic SL/TP levels
Step 4: Risk Management
⦁ Default 2:1 risk:reward (adjustable)
⦁ Stop loss: 1.5x ATR from entry
⦁ Position sizing based on stop distance
Best Practices
1. Higher probability setups occur when multiple conditions align
2. Volume confirmation is crucial - avoid signals without volume spikes
3. Trade with structure - longs in bullish, shorts in bearish structure
4. Monitor POC - acts as dynamic support/resistance
5. Confluence zones where OBs, FVGs, and liquidity levels overlap are strongest
Important Notes
⦁ Not a standalone system - combine with your analysis
⦁ Works best in trending markets with clear structure
⦁ Adjust settings based on instrument volatility
⦁ Backtest thoroughly on your specific markets
⦁ Past performance doesn't guarantee future results
Alerts Available
⦁ ICT Buy Signal
⦁ ICT Sell Signal
⦁ Volume Spike Detection
⦁ Liquidity Grab Detection
This indicator provides a systematic approach to ICT concepts, helping traders identify where institutions are entering positions through volume analysis and key price action patterns. The auto-configuration feature ensures optimal settings for your trading style without manual adjustment.
Disclaimer
This tool is for educational and research purposes only. It is not financial advice, nor does it guarantee profitability. All trading involves risk, and users should test thoroughly before applying live.
Delta -> PROFABIGHI_CAPITAL🌟 Overview
This Delta → PROFABIGHI_CAPITAL implements a comprehensive market delta analysis framework combining price delta calculations with volume-weighted delta analysis and cumulative volume delta tracking for advanced order flow assessment.
It provides Price Delta calculation measuring price movement over configurable periods for momentum analysis , Volume Delta approximation using volume weighted by price direction for buying/selling pressure identification , Cumulative Volume Delta (CVD) tracking with dynamic histogram visualization for long-term order flow trends , and Comprehensive display controls with debug options for flexible market microstructure analysis for professional order flow trading applications.
🔧 Advanced Delta Analysis Architecture
- Professional market microstructure analysis system integrating price movement with volume-weighted directional analysis
- Price Source Configuration enabling close, open, high, low, or composite price inputs for flexible delta calculation adaptation
- Delta Period Management with adjustable lookback periods for price delta calculation affecting both price and volume delta analysis
- Overlay Integration designed as separate pane indicator for dedicated delta analysis without interfering with price action
- Volume Format Display using volume-specific formatting for accurate large number representation
- Professional Timeframe Support enabling multi-timeframe delta analysis for different market perspectives
📊 Price Delta Implementation Framework
- Period-Based Price Calculation measuring price difference between current bar and specified periods ago for momentum assessment
- Configurable Source Selection supporting different price inputs for various delta calculation approaches
- Null Value Protection ensuring continuous calculation through proper handling of undefined historical values
- Visual Color Coding using teal for positive price delta and maroon for negative price delta with transparency
- Line Style Visualization displaying price delta as continuous line for trend identification
- Optional Display Control allowing users to show or hide price delta for focused analysis
📈 Volume Delta Calculation Engine
- Price Direction Analysis using mathematical sign function to determine positive or negative price movement
- Volume Weighting System multiplying volume by price direction sign for approximated buying/selling pressure
- Sign Variable Management maintaining price direction state for consistent volume delta calculation
- Null Value Handling ensuring continuous volume delta calculation through proper mathematical validation
- Histogram Visualization displaying volume delta as bars with green for buying pressure and red for selling pressure
- Dynamic Transparency using optimized transparency levels for clear visual distinction between positive and negative values
📉 Cumulative Volume Delta (CVD) Framework
- Running Sum Calculation maintaining cumulative total of all volume delta values for long-term trend analysis
- Dynamic Color System comparing current CVD with previous bar to determine rising or falling cumulative pressure
- Histogram Style Display presenting CVD as histogram bars for immediate visual impact assessment
- Trend Direction Visualization using green for rising CVD and red for falling CVD with transparency optimization
- Historical Comparison Logic implementing proper previous bar comparison with null value protection for first bar handling
- Cumulative State Tracking maintaining accurate running totals across all historical bars for reliable trend identification
🎨 Comprehensive Display Control System
- Modular Visibility Controls enabling independent show/hide options for price delta, volume delta, and CVD components
- Grouped Settings Organization separating calculation settings, display options, and debug features for streamlined configuration
- Tooltip Integration providing detailed explanations for each setting to guide proper indicator usage
- Professional Color Scheme using market-standard colors with appropriate transparency levels for clear visual hierarchy
- Null Line Reference displaying zero line with dashed gray styling for immediate positive/negative reference
- Optional Debug Visualization offering raw data plots for troubleshooting and analysis validation
⚙️ Advanced Debug System
- Raw Price Change Display showing unprocessed price movement for calculation verification
- Sign Function Visualization displaying mathematical sign output as histogram for direction confirmation
- Volume Data Verification presenting raw volume values as columns for data integrity checking
- Independent Debug Controls enabling selective activation of different debug components without affecting main plots
- Color-Coded Debug Plots using distinct colors (orange, purple, black) for easy identification of debug elements
- Performance Optimization displaying debug plots only when specifically enabled to maintain indicator performance
📋 Professional Configuration Framework
- Calculation Settings Group organizing core delta parameters including source selection and period configuration
- Display Options Group centralizing visibility controls for main indicator components with detailed tooltips
- Simple Plots Group providing debug options for advanced users and troubleshooting scenarios
- Input Validation ensuring minimum period values and proper source selection for reliable calculations
- Tooltip Documentation offering comprehensive explanations for each setting to guide proper indicator utilization
- Professional Naming Convention using clear, descriptive names for all settings and components
🔍 Mathematical Implementation Excellence
- Accurate Delta Calculations using proper arithmetic operations for price difference measurement over specified periods
- Sign Function Implementation correctly applying mathematical sign determination for price direction analysis
- Volume Multiplication Accuracy precisely weighting volume values by price direction for delta approximation
- Cumulative Sum Precision maintaining accurate running totals using Pine Script's cumulative function
- Null Value Management implementing comprehensive null value handling for reliable calculations across all scenarios
- Historical Data Access properly accessing previous bar data with appropriate indexing for comparison logic
🎯 Market Microstructure Applications
- Order Flow Analysis identifying buying versus selling pressure through volume-weighted price direction assessment
- Momentum Confirmation using price delta to validate price movement strength over configurable periods
- Trend Identification leveraging CVD trends to identify long-term accumulation or distribution patterns
- Volume Profile Integration combining volume data with price direction for comprehensive market structure analysis
- Support/Resistance Validation using delta analysis to confirm or challenge traditional technical analysis levels
- Divergence Detection comparing price movement with volume delta patterns for potential reversal identification
⚡ Performance Optimization Features
- Conditional Plotting Logic displaying only enabled components to optimize chart rendering performance
- Efficient Variable Management using appropriate variable scoping and initialization for minimal memory usage
- Optimized Color Assignment pre-calculating colors and applying transparency for smooth visual performance
- Streamlined Calculations organizing mathematical operations for minimal redundant computation
- Dynamic Display Updates providing real-time delta values with immediate visual feedback
- Resource-Conscious Debug Mode activating debug plots only when specifically requested to maintain indicator efficiency
🎨 Professional Visualization Framework
- Color-Coded Delta Analysis using green/red scheme for immediate positive/negative identification
- Transparency Optimization applying appropriate transparency levels for clear visual hierarchy without overwhelming chart
- Multiple Plot Styles implementing line plots for price delta, histogram for volume delta, and histogram for CVD
- Zero Line Reference providing dashed gray zero line for immediate positive/negative context
- Dynamic CVD Coloring comparing current versus previous CVD values for trend direction visualization
- Professional Chart Integration maintaining separate pane layout for dedicated delta analysis focus
🔧 Technical Implementation Framework
- Variable Declaration Organization properly declaring color variables and state management variables for clean code structure
- Calculation Sequence Optimization organizing price delta, volume delta, and CVD calculations in logical order
- Plot Management System coordinating multiple plot statements with appropriate conditional logic
- State Variable Management maintaining sign_price_change variable for consistent volume delta calculation
- Error Prevention Architecture incorporating null value checks and mathematical validation for reliable operation
- Modular Code Structure separating calculation, plotting, and debug sections for maintainable code organization
✅ Key Takeaways
- Advanced delta analysis framework combining price delta momentum with volume-weighted directional pressure for comprehensive order flow assessment
- Professional CVD implementation with dynamic histogram visualization showing cumulative buying/selling pressure trends over time
- Comprehensive display control system enabling selective visualization of price delta, volume delta, and CVD components with debug options
- Mathematical precision implementation using proper sign function analysis and cumulative sum calculations with null value protection
- Professional configuration framework with grouped settings, detailed tooltips, and modular visibility controls for customized analysis
- Performance-optimized visualization using conditional plotting and efficient color management for smooth real-time delta tracking
- Market microstructure applications supporting order flow analysis, momentum confirmation, and trend identification for institutional trading approaches
Liquidity Void Detector (Zeiierman)█ Overview
Liquidity Void Detector (Zeiierman) is an oscillator highlighting inefficient price displacements under low participation. It measures the most recent price move (standardized return) and amplifies it only when volume is below its own trend.
Positive readings ⇒ strong up-move on low volume → potential Buy-Side Imbalance (void below) that often refills.
Negative readings ⇒ strong down-move on low volume → potential Sell-Side Imbalance (void above) that often refills.
This tool provides a quantitative “void” proxy: when price travels far with unusually thin volume, the move is flagged as likely inefficient and prone to mean-reversion/mitigation.
█ How It Works
⚪ Volume Shock (Participation Filter)
Each bar, volume is compared to a rolling baseline. This is then z-scored.
// Volume Shock calculation
volTrend = ta.sma(volume, L)
vs = (volume > 0 and volTrend > 0) ? math.log(volume) - math.log(volTrend) : na
vsZ = zScore(vs, vzLen) // z-scored volume shock
lowVS = (vsZ <= vzThr) // low-volume condition
Bars with VolShock Z ≤ threshold are treated as low-volume (thin).
⚪ Prior Return Extremeness
The 1-bar log return is computed and z-scored.
// Prior return extremeness
r1 = math.log(close / close )
retZ = zScore(r1, rLen) // z-scored prior return
This shows whether the latest move is unusually large relative to recent history.
⚪ Void Oscillator
The oscillator is:
// Oscillator construction
weight = lowVS ? 1.0 : fadeNoLow
osc = retZ * weight
where Weight = 1 when volume is low, otherwise fades toward a user-set factor (0–1).
Osc > 0: up-move emphasized under low volume ⇒ Buy-Side Imbalance.
Osc < 0: down-move emphasized under low volume ⇒ Sell-Side Imbalance.
█ Why Use It
⚪ Targets Inefficient Moves
By filtering for low participation, the oscillator focuses on moves most likely driven by thin books/noise trading, which are statistically more likely to retrace.
⚪ Simple, Robust Logic
No need for tick data or order-book depth. It derives a practical void proxy from OHLCV, making it portable across assets and timeframes.
⚪ Complements Price-Action Tools
Use alongside FVG/imbalance zones, key levels, and volume profile to prioritize voids that carry the highest reversal probability.
█ How to Use
Sell-Side Imbalance = aggressive sell move (price goes down on low volume) → expect price to move up to fill it.
Buy-Side Imbalance = aggressive buy move (price goes up on low volume) → expect price to move down to fill it.
█ Settings
Volume Baseline Length — Bars for the volume trend used in VolShock. Larger = smoother baseline, fewer low-volume flags.
Vol Shock Z-Score Lookback — Bars to standardize VolShock; larger = smoother, fewer extremes.
Low-Volume Threshold (VolShock Z ≤) — Defines “thin participation.” Typical: −0.5 to −1.0.
Return Z-Score Lookback — Bars to standardize the 1-bar log return; larger = smoother “extremeness” measure.
Fade When Volume Not Low (0–1) — Weight applied when volume is not low. 0.00 = ignore non-low-volume bars entirely. 1.00 = treat volume condition as irrelevant (pure return extremeness).
Upper Threshold (Osc ≥) — Trigger for Sell-Side Imbalance (void below).
Lower Threshold (Osc ≤) — Trigger for Buy-Side Imbalance (void above).
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
CQ_Historical Candle Color Changer🎯 Purpose
This indicator visually distinguishes candles based on how old they are—specifically within a user-defined range (e.g., 1 to 7 days old). It helps traders quickly isolate recent price action from older data, making it easier to interpret overlays like moving averages, volume profiles, or momentum indicators.
⚙️ Key Features
- User-Defined Age Range: Set minimum and maximum age in days (e.g., highlight candles that are 1–7 days old).
- Custom Colors: Choose highlight colors for candles within the range.
- Timeframe Awareness: Works across any chart timeframe (1m, 1h, 1D, etc.), calculating candle age based on actual time elapsed.
- Non-Intrusive Display: Candles outside the range retain their default appearance, preserving overall chart readability.
📐 How It Works
- The script calculates the age of each candle by comparing its timestamp to the current time.
- If the candle falls within the user-defined age range, it’s recolored using the selected style.
- Candles older or newer than the range are left untouched.
🧠 Use Cases
- Trend Isolation: Focus on recent price action without losing sight of broader context.
Trading Sessions (L3J) Trading Sessions Indicator (L3J)
Overview
This Pine Script indicator displays precise trading session boxes for the three major global trading sessions: Asia, London, and US (Cash). Unlike traditional session indicators that show continuous background colors, this script creates rectangular boxes that precisely delimit each session from start to finish.
Features
🌍 Global Timezone Support
- 39 timezone options covering all major financial centers
- Automatic daylight saving time adjustments for named timezones
- Universal compatibility with all TradingView charts
📦 Session Boxes
- Precise delimitation: Each session is contained within a rectangular box
- Dynamic sizing: Boxes automatically adjust to session high/low prices
- Visual distinction: Completed sessions (solid borders) vs ongoing sessions (dashed borders)
- Customizable borders: Toggle on/off with adjustable thickness (0-5px)
🎨 Visual Customization
- Individual session colors: Fully customizable for Asia, London, and US sessions
- Border matching: Border colors automatically match session box colors
- Transparency control: Built-in opacity settings for each session
- Clean interface: Minimal visual clutter with maximum information
⚙️ Management Options
- Box limit control: Set maximum number of historical boxes per session (1-50)
- Automatic cleanup: Old boxes are automatically removed to maintain performance
- Memory efficient: Optimized for long-term chart analysis
Default Session Times (EDT - Etc/GMT+4)
| Session | Default Hours | Markets Covered |
|---------|---------------|-----------------|
| Asia | 18:00 - 02:00 | Tokyo, Sydney, Hong Kong |
| London | 02:00 - 11:00 | London, Frankfurt, European markets |
| US Cash | 09:30 - 16:00 | NYSE, NASDAQ |
> Note: Default times are in EDT (Eastern Daylight Time). Adjust session hours according to your selected timezone.
Timezone Conversion Examples
For UTC Users:
- Asia: 22:00 - 06:00
- London: 06:00 - 15:00
- US: 13:30 - 20:00
For Europe/London Users:
- Asia: 23:00 - 07:00
- London: 07:00 - 16:00
- US: 14:30 - 21:00
Usage Instructions
1. Add to chart: Apply the indicator to any timeframe
2. Select timezone: Choose your local timezone from the dropdown
3. Adjust session hours: Modify session times if needed for your timezone
4. Customize appearance: Set colors, borders, and box limits
5. Enable/disable sessions: Toggle individual sessions on/off as needed
Technical Specifications
- Pine Script Version: v6
- Chart Type: Overlay indicator
- Maximum Objects: 150 boxes, 500 lines, 200 labels
- Performance: Optimized for real-time updates
- Compatibility: All TradingView chart types and timeframes
Integration with Other Scripts
This indicator is designed to work seamlessly with other L3J trading scripts:
- ICT Levels Indicators: Provides session context for key levels
- Market Structure Scripts: Session boxes help identify structural breaks
- Volume Profile Tools: Session delimitation for volume analysis
- Support/Resistance Scripts: Session-based level identification
> Recommended: Use this as a base layer with other L3J indicators for comprehensive market analysis.
Key Benefits
🎯 Precision Trading
- Exact session boundaries: No guesswork about session start/end times
- Clean visual reference: Clear session delimitation for strategy execution
- Multi-timeframe compatibility: Works on all chart timeframes
📊 Professional Analysis
- Institution-grade accuracy: Matches professional trading platforms
- Customizable for any strategy: Adaptable to various trading approaches
- Performance optimized: Minimal impact on chart loading times
🔄 Real-time Updates
- Live session tracking: Ongoing sessions update in real-time
- Automatic management: Old sessions are cleaned up automatically
- Memory efficient: Optimized for extended trading sessions
Author Information
Created by: L3J
Version: 1.0
Category: Session Analysis / Market Hours
License: For use with L3J trading script ecosystem
---
Support & Integration
This indicator is part of the L3J Trading Script Collection. For optimal results, combine with other L3J indicators:
- ICT Key Levels
- Market Structure Analysis
- Volume Profile Tools
- Support/Resistance Scripts
Note: This script is specifically designed to complement and enhance other L3J trading tools. Individual use is supported, but maximum effectiveness is achieved when used as part of the complete L3J trading system.
---
For technical support or integration questions, refer to the L3J script documentation or community resources.
DeltaTrace ForecastDeltaTrace Forecast is a forward-looking projection tool that visualizes the probable directional path of price using a multi-timeframe momentum model rooted in volatility-adjusted nonlinear dynamics. Rather than relying on traditional indicators that react to price after the fact, DeltaTrace estimates future price motion by tracing the progression of momentum changes across expanding timeframes—then scaling those deltas using adaptive volatility to forecast a plausible path forward.
At its core, DeltaTrace constructs a momentum vector from a series of smoothed z-scores derived from increasing multiples of the current chart's timeframe. These z-scores are normalized using a hyperbolic tangent function (tanh), which compresses extreme values and emphasizes meaningful deviations without being overly sensitive to outliers. This nonlinear normalization ensures that explosive moves are weighted with less distortion, while still preserving the shape and direction of the underlying trend.
Once the z-scores are calculated for a range of 12 timeframes (from 1× the current timeframe up to 12×), the indicator computes the first difference between each adjacent pair. These differences—or deltas—represent the change in momentum from one timeframe to the next. In this structure, a strong positive delta implies momentum is strengthening as we look into higher timeframes, while a negative delta reflects waning or reversing strength.
However, not all deltas are treated equally. To make the projection adaptive to market volatility and temporally meaningful, each delta is scaled by the square root of its corresponding timeframe multiple, weighted by the ATR (Average True Range) of the base timeframe. This square-root volatility scaling mirrors the behavior of Brownian motion and reflects the natural geometric diffusion of price over time. By applying this scaling, the model tempers its forecast according to recent volatility while maintaining proportional distance over longer time horizons.
The result is a chain of projected price steps—11 in total—starting from the current closing price. These steps are cumulative, meaning each one builds upon the previous, forming a continuously adjusted polyline that represents the most recent forecast path of price. Each point in the forecast line is directional: if the next projected point is above the last, the segment is colored green (upward momentum); if below, it is colored red (downward momentum). This color coding gives immediate visual feedback on the nature of the projected path and allows for intuitive at-a-glance interpretation.
What makes DeltaTrace unique is its combination of ideas from signal processing, time-series momentum analysis, and volatility theory. Instead of relying on static support/resistance levels or lagging moving averages, it dynamically adapts to both momentum curvature and volatility structure. This allows it to be used not just for trend confirmation, but also for top-down bias fading, reversal anticipation, and path-following strategies.
Traders can use DeltaTrace in a variety of ways depending on their style:
For trend traders, a consistent upward or downward curve in the forecast suggests directional continuation and can be used for position sizing or confirmation of bias.
For mean-reversion traders, exaggerated divergence between the current price and the first few forecast points may indicate temporary exhaustion or overextension.
For scalpers or intraday traders, the short-term bend or flattening of the initial segments can reveal early signs of weakening momentum or build-up before breakout.
For swing traders, the full shape of the polyline gives an evolving map of market rhythm across time compression, allowing for context-aware decision-making.
It’s important to understand that this is a path projection tool, not a precise price target predictor. The forecast does not attempt to predict exact price levels at exact bars, but rather illustrates how the market might evolve if the current multi-timeframe momentum structure persists. Like all models, it should be interpreted probabilistically and used in conjunction with other confirmation signals, risk management tools, or strategy frameworks.
Inputs allow customization of the z-score calculation length and ATR window to tune the sensitivity of the model. The color scheme for up/down forecast segments can also be adjusted for personal preference. Additionally, users can toggle the polyline forecast on or off, which may be useful for pairing this indicator with others in a crowded chart layout.
Because the forecast path is calculated only on the last bar, it does not repaint or shift once the candle closes—preserving historical accuracy for visual inspection and backtesting reference. However, it is also sensitive to changes in volatility and momentum structure, meaning it updates each bar as conditions evolve, making it most effective in real-time decision support.
DeltaTrace Forecast is particularly well-suited for traders who want a deeper understanding of hidden momentum shifts across timeframes without relying on traditional trend-following tools. It reveals the shape of future possibility based on present dynamics, offering a compact yet powerful visualization of directional bias, transition risk, and path strength.
To maximize its utility, consider pairing DeltaTrace with volume profiles, order flow tools, higher timeframe zones, or market structure indicators. Used in context, it becomes a powerful companion to both systematic and discretionary trading styles—especially for those who appreciate a blend of mathematics and intuition in their market analysis.
This indicator is not based on magic or black-box logic; every component—from the z-score standardization to the volatility-adjusted deltas—is fully transparent and grounded in simple, interpretable mechanics. If you're looking for a reliable way to visualize multi-timeframe bias and momentum diffusion, DeltaTrace provides a unique lens through which to interpret future potential in an ever-shifting market landscape.
Delta Canlde POC @MaxMaserati🎯 Delta Candle POC @MaxMaserati
Indicator Guide and Purpose
This indicator provides professional volume profile analysis at the individual candle level, revealing the internal structure of price action and volume distribution that standard charts cannot show. It transforms each candle into a detailed volume map, showing exactly where trading activity concentrated and whether buyers or sellers were in control.
What It Shows
🔹 Volume Imprint Bars
5 horizontal volume bars within each qualifying candle
Width = Volume intensity at that price level
Color = Market pressure (Green = Bullish delta, Red = Bearish delta)
Position = Key price levels (Open, Close, Body Mid, High/Low rejections)
🔹 Delta Labels
Net buying/selling pressure for each candle (e.g., "+2.3K" or "-1.8K")
Positioned above/below candles based on pressure direction
Synchronized with volume bars - appear together, disappear together
🔹 Point of Control (POC)
Horizontal line marking the price level with highest volume
Dynamic thickness based on volume intensity
Extends forward to show ongoing significance
Color-coded by market pressure
How to Interpret
Volume Distribution Patterns
Thick bars at body levels = High conviction trading
Thick bars at wicks = Rejection/support zones
Concentrated volume = Strong agreement on price
Scattered volume = Uncertainty or ranging
Delta Analysis
Large positive delta = Strong buying pressure
Large negative delta = Strong selling pressure
Small delta with high volume = Balanced but active trading
Large delta with low volume = Weak conviction
POC Significance
POC at candle high = Resistance being tested
POC at candle low = Support being tested
POC in body = Fair value area
Thick POC lines = High conviction levels
Analysis Settings
Volume Sensitivity - Controls how much detail to show
Minimum Volume Threshold - Filters out low-activity candles
High Volume Candles Only - Shows only above-average volume periods
Customization
Imprint Width % - Adjust bar width for visibility
Volume Bar Transparency - Control opacity
Color settings - Customize all visual elements
Smart Features
🔄Synchronized Management
Automatic cleanup - Maintains exactly 35 candles worth of data
Perfect synchronization - Labels and volume bars always appear/disappear together
No orphaned elements - Prevents display issues
🧠 Advanced Calculations
Smart order flow - Uses price action, wicks, and body analysis
Real tick data - Enhanced accuracy on 1-tick charts
5-level distribution - Optimized for Pine Script limits
Timeframe Selection
Lower timeframes (1m, 5m) - Detailed intraday analysis
Higher timeframes (1H, 4H) - Broader market structure
Volume Threshold:
Start with default 100 - Adjust based on instrument liquidity
Higher thresholds - Focus on major moves only
Lower thresholds - See more activity detail
What Makes It Unique
Unlike traditional volume indicators that show aggregate data, this reveals the internal architecture of each price move, answering:
Where exactly did the volume occur within each candle?
What was the buying vs selling pressure at each level?
Which price levels attracted the most activity?
How committed were traders to specific price areas?
This granular insight helps you understand market microstructure and see the story behind every candle's formation.
Backtest it and make sure it fits your needs before using it.